import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import pinia from './store'
import ElementPlus from 'element-plus'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
import resize from './directives/resize'
import globalComponents from "@/components";


const app = createApp(App)
globalComponents(app);

app.directive('resize',resize)
app.use(router).use(pinia).use(ElementPlus, {
  locale: zhCn,
}).mount('#app')